package com.example.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * Eureka服务注册
 *
 * @author tongyufu
 */
@EnableEurekaServer
@SpringBootApplication
public class ServerCloudApplication {

    /**
     * Eureka服务注册
     *
     * @param args 启动参数
     */
    public static void main(String[] args) {
        SpringApplication.run(ServerCloudApplication.class, args);
    }
}
